//
//  HWBookDetailViewController.m
//  嗨文
//
//  Created by 响当当 on 2019/3/11.
//  Copyright © 2019年 dongzheng. All rights reserved.
//

#import "HWBookDetailViewController.h"
#import "HWBookDetailView.h"

@interface HWBookDetailViewController ()
@property (nonatomic, strong)HWBookDetailView *bookDetailView;
@end

@implementation HWBookDetailViewController

- (HWBookDetailView *)bookDetailView
{
    if (!_bookDetailView)
    {
        _bookDetailView = [[HWBookDetailView alloc]initWithFrame:CGRectMake(0,NAVIBAR_HEIGHT,SCREEN_WIDTH,SCREEN_HEIGHT - NAVIBAR_HEIGHT)];
    }
    return _bookDetailView;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setTitle:self.title];
    [self setDefaultNav];

    [self.view addSubview:self.bookDetailView];
}


@end
